extends Sprite2D

var speed = 400
var angular_speed = PI

var rotation2 :float = 0

# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta): 
	rotation2 += angular_speed * delta
	var velocity = Vector2.UP.rotated(rotation2) * speed
	position += velocity * delta
